package tema13.ejercicios.ej10;

import java.awt.Graphics;

import javax.swing.JPanel;
	

@SuppressWarnings("serial")
public class Ejercicio10MiPanel  extends JPanel{
	private int x = 0;
	
	public int getX() {
		return x;
	}
	
	public void setX(int x) {
		this.x = x;
	}
	
	public void paint(Graphics g) {
		super.paint(g);
		g.drawOval(x,100,100,100);
	}
}
